package com.ai.wx.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ai.wx.entity.ProductOrder;
import com.ai.wx.entity.ProductOrderPre;

public interface ProductOrderService {

	public List<ProductOrder> getProdOrderList(String openId, Integer orderState, int page, int rows);

	public void createOrderPre(ProductOrderPre order);
	public ProductOrder getOrderByOutTradeId(String outTradeNo);
	public String processWxPayNotify(Map<String,String> map, HttpServletRequest request, HttpServletResponse response);

	public void productOrderSuccess(ProductOrder order);
	public void productOrderFail(ProductOrder order);

	public List<ProductOrder> batchDoProductOrder();
}
